package com.buddha.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author mybatis-plus
 * @since 2023-07-06
 */
@Getter
@Setter
  @TableName("model")
@ApiModel(value = "Model对象", description = "")
public class Model implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "model_id", type = IdType.AUTO)
      private Integer modelId;

    private Integer carId;

    private String modelName;

    private Double modelPrice;

    private LocalDateTime marketTime;

    private Double maxTorque;

      @ApiModelProperty("轴距")
      private Double wheelBase;

      @ApiModelProperty("油箱/电池容量")
      private String capacity;

      @ApiModelProperty("引擎型号")
      private String engineModel;

    private Double displacement;

    private Integer driveMode;

    private Double maxSpeed;

    private Double maxHorsepower;
}
